﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace maxitextil
{
    public partial class contato : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            string st_Usuario ="";
 
if (Session["UserID"] != null)
st_Usuario = Session["UserID"].ToString();
else
if ((Request.Cookies["sistema"] != null))
if (Request.Cookies["sistema"]["UserID"] != null)
st_Usuario = Request.Cookies["sistema"]["UserID"].ToString();
 
if (st_Usuario == "")
Response.Redirect("~/Account/login.aspx?url=" + Request.FilePath);
        }
    }
}